package com.solidtrust.entity;

import java.text.MessageFormat;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class GanjiCity {

	@Id
	private String city;
	
	private String province;
	
	private String url;

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	@Override
	public String toString() {
		return MessageFormat.format("[city={0}, url={1}]", city, url);
	}
}
